package stone.eval;

import java.util.HashMap;

public class BasicEnv implements Environment {
    protected HashMap<String,Object> hashMap;

    public BasicEnv() {
        hashMap =new HashMap<>();
    }

    @Override
    public void put(String name, Object value) {
        hashMap.put(name,value);
    }

    @Override
    public Object get(String name) {
        return hashMap.get(name);
    }
}
